/*
 * Copyright (c)  2020,  DataPipeline
 * All rights reserved.
 *
 * Id:MapperBuilder.java   2020-07-18 22:42 Evan
 */
package cn.datacare.orm.mapper;

/**
 * <p>
 * Title:
 * </p>
 * <p>
 * Description:  定义获取Mapper实现的接口,这样可以很容易的更换实现.
 * </p>
 * <p>
 * Copyright: Copyright (c) 2020
 * </p>
 * <p>
 * Company/Department: DataPipeline
 * </p>
 *
 * @author Evan
 * @version 1.0
 * @since 2020-07-18 22:42
 */
public interface MapperBuilder {

    /***
     * 获取Mapper
     * @param clazz Class<T>
     * @return <T>
     */
    <T> T getMapper(Class<T> clazz);
}
